package com.diandi.ddsb.service.impl;

import com.diandi.ddsb.manager.ResourceManager;
import com.diandi.ddsb.service.ResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by 袁恩光 on 2018/3/21.
 */
@RestController
public class ResourcesServiceImpl implements ResourceService {

    @Autowired
    private ResourceManager resourceManager;

    @Override
    public List<String> findFullpathByRoleId(Long id) {

        return resourceManager.findFullpathByRoleId(id);
    }
}
